
export * as login from './login';
export * as create from './create';
export * as list from './list';
export * as delete from './delete';
export * as update from './update';

/** 启用状态 */
export enum EnabledStatusEnum {
    /** 启用 */
    ENABLED = '1',

    /** 禁用 */
    DISABLED = '2',
}

export const EnabledStatusMap = {
    [EnabledStatusEnum.ENABLED]: '启用',
    [EnabledStatusEnum.DISABLED]: '禁用',
}

export type IUser = {

    /** 用户ID */
    id:string;

    /** 用户名 */
    username: string;

    /** 密码 */
    password: string;

    /** 昵称 */
    nickname: string;

    /** 邮箱 */
    email: string;

    /** 手机 */
    phone?: string;

    /** 启用状态 */
    enabledStatus: EnabledStatusEnum;

    /** 备注 */
    remarks?: string;

}